Method and computer program product for operating a specification of a system

ABSTRACT

A movability determining section checks the movability of an descriptive element comprised in a specification having a hierarchical structure. The descriptive element of which the movability is checked is moved in the hierarchical structure by a specification moving section. For the movement, a preparation is made as follows. The specification moving section, if necessary, moves a communication channel included in the descriptive element to make sure that a constraint with respect to the level to which the communication channel belongs is satisfied after the movement. After the preparation, the specification moving section moves a behavior included in the descriptive element upward/downward across levels in the hierarchical structure. A specification correcting section corrects the specification so as not to violate an execution order constraint.

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2001-024478, filed Jan. 31, 2001, the entire contents of which are incorporated herein by reference.

BACKGROUND OF THE INVENTION

[0002] 1. Field of the Invention

[0003] The present invention relates to a specification operating method and computer product for operating specifications in designing hardware, software, and a system including both of them in a computer or electronic information device.

[0004] 2. Description of the Related Art

[0005] Conventionally, the structure or format of a specification is fixed in advance for each design analysis method, and systems are analyzed and designed with suitable different structures in accordance with different targets and purposes. According to an object-oriented software design methodology typified by UML, although a unified format for design is defined, analysis/design methods to be actually used differ for the respective domains, and the structures of specifications and the respective format elements differ in meaning. Therefore, design resources cannot be mutually used for the respective domains. Note that UML is described in detail in, for example, Hans-Eriksson/Magnus Penker, “UML Guidebook”, complied/translated by Norio Sugimoto, Osamu Ochiai, and Tamiko Takeda, ISBN4-8101-8987-2.

[0006] Assume that a specification needs to be changed because of a change in external environment. In this case, even if the specification is partly corrected, its effective range cannot be estimated. For this reason, the specification must be remade from the beginning. This applies to a design/development process for a single product. For example, when a specification for a prototype is to be created for one product by using the rapid prototyping technique, the specification must be remade in detailed design in accordance with implementation constraints. For example, in a rapid prototyping tool (Rapid), C-language codes are created from a created prototype. However, the codes are not optimized for embedment, and hence must be remade. Note that Rapid is described in detail in, for example, “Rapid-plus, White Paper”, http://www.e-sim.com/pdf/whtpaper.pdf as a reference for Rapid.

[0007] For example, in remaking a specification for an embedment system constituted by a combination hardware (LSI) and software which serve as an overall system, the specification created for the overall system is remade as independent specifications for hardware and software, respectively, after assignment of hardware and software roles are determined.

[0008] Recently, system-level specification description languages independent of hardware and software have been developed. This has improved an environment under which specification description can be performed in the same specification format so as to segment a system-level specification into specifications for software and hardware. Design methodologies have been proposed with the development of these languages. Although these methodologies indicate a process of deriving design specifications for software and hardware from a system-level specification in a top-down manner, external requests cannot cover specification operation for changing the structure of the specification while maintaining the contents of the specification in response to a specification change request due to a change in resource constraint.

[0009] According to language compilers for software and language conversion tools typified by gcc, the format of a given specification can be converted into the format of another specification. In this case, specifications having the same contents and same structure are only converted into different formats. That is, every time a specification is changed, the format must be converted into a corresponding one. Note that gcc is described in detail in, for example, “GNU's not Unix”, http//www.gnu.org/.

[0010] As described above, there is no mechanism of facilitating a change in structure in accordance with external requirements such as a resource constraint, performance, and reliability while holding the contents of the specification. In addition, in automating a change in specification, since there are infinite number of combinations of the internal specifications of specifications depending on the target and fields, it is impossible to create commands corresponding to all specification changes in advance.

BRIEF SUMMARY OF THE INVENTION

[0011] The present invention has been made in consideration of the above situation, and has as its object to provide a specification operating method and computer program product which can easily change, in designing a specification, the structure of the specification while holding its contents in accordance with a purpose, resource constraint, external request, or the like.

[0012] According to one aspect of the present invention, there is provided a method for operating a specification of a system, comprising: storing a structure of the specification described in a system description language; storing constraint information indicating a first execution order constraint associated with the specification; and processing of converting the specification to another specification having a second execution order constraint equivalent to the first execution order constraint or having a third execution order constraint stronger than the first execution order constraint by referring to the constraint information.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING

[0013]FIG. 1 is a block diagram showing an arrangement of a specification operating apparatus according to an embodiment of the present invention;

[0014]FIG. 2 is a block diagram showing an internal arrangement of the specification moving section of the specification operating apparatus according to the embodiment;

[0015]FIG. 3 is a block diagram showing an internal arrangement of the move command section of the specification moving section of the specification operating apparatus according to the embodiment;

[0016]FIG. 4 is a flow chart showing a procedure for moving a specification in a specification moving section 13;

[0017]FIG. 5 is a view showing an example of a specification in a system description language form; and

[0018]FIG. 6 is a view showing an example of a system design support apparatus.

DETAILED DESCRIPTION OF THE INVENTION

[0019] An embodiment of the present invention will be described below with reference to the views of the accompanying drawing.

[0020] A system design support apparatus 100 shown in FIG. 1 is comprised of a specification model description section 101, system specification recording section 107, architecture search section 102, communication synthesizing section 103, hardware specification creation section 104, part formation/reuse section 105, and software specification creation section 106.

[0021] The system design support apparatus 100 of this embodiment handles at system level, e.g., a specification for software executed by a computer, a specification for hardware combined with semiconductor devices and the like, a specification for an incorporated system constituted by a combination of software and hardware, and a specification for a business process such as a work flow.

[0022] The specification model description section 101, which is used to design a specification model comprised of specifications for calculation and communication in such specifications at system level, is a section for supporting a designer to describe specifications. When the designer describes specifications for calculation contents and communication contents according to a predetermined specification description form, a specification description model is created. This specification description model includes a specification structure to be described later. Examples of the specification description form are a structured text form represented by a structured programming language, a structural chart form using graphs, and a table form using tables.

[0023] The architecture search section 102 divides a partial structure of a supplied specification description model into elements and distributing the elements to architecture elements while maintaining the contents of the specification in consideration of an architecture (the arrangement of a hardware/software implementation environment). More specifically, parts (the constituent elements of a specification description model) constituting specifications for calculation contents and communication contents designed by the specification model description section 101 are assigned to architecture elements (creation of an architecture model).

[0024] The communication synthesizing section 103 synthesizes communication procedures between specification elements on an architecture. More specifically, the communication synthesizing section 103 inserts a communication procedure (protocol) between communication specification elements distributed by the architecture search section 102 and performs protocol conversion (rearrangement of a communication procedure) to match with a communication procedure in which the communication content specification is inserted (creation of a communication model).

[0025] The system specification recording section 107 associates the specification model created by the specification model description section 101, the architecture model created by the architecture search section 102, and the communication model created by the communication synthesizing section 103 with each other, and records the resultant data as a system specification.

[0026] The hardware specification creation section 104 creates a hardware specification from the system specification recorded on the system specification recording section 107. The software specification creation section 106 creates a software specification from the system specification recorded on the system specification recording section 107.

[0027] The part formation/reuse section 105 forms the system specification recorded on the system specification recording section 107 into parts and provides them for reuse in design processes in the specification model description section 101, architecture search section 102, and communication synthesizing section 103.

[0028] The specification operating apparatus according to an embodiment of the present invention described bellow is used in architecture search section 102 of system design support system shown in FIG. 6. The specification operating apparatus converts a structure of the specification while keeping the contents of the specification unchanged. The specification operating apparatus makes it possible to segment the specification.

[0029]FIG. 1 shows an arrangement of a specification operating apparatus according to an embodiment of the present invention.

[0030] As shown in FIG. 1, this specification operating apparatus is comprised of a specification operating section 1 including a specification structure recording section 11, a specification constraint recording section 12, and a specification moving section 13, an input/output section 2 which exchanges data and instructions with external units, and a storage section (not shown) for storing necessary data such as specification movement rules (a movability determination rule, movability portion calculation rule, and specification correction rule). This apparatus may further include a communication section 3, program executing section 4, and the like, as needed.

[0031] The specification structure recording section 11 records/stores information associated with a specification as structure information 21 including the correlations between the portions of the specification.

[0032] The specification constraint recording section 12 records/holds constraints 22 associated with a specification.

[0033] The specification moving section 13 serves to determine whether a specification can be moved while its contents are held, display a destination when the specification can be moved, and move the specification, i.e., correct part of the specification.

[0034]FIG. 2 shows an internal arrangement of the specification moving section 13. The specification moving section 13 includes a movability determining section 131, movability portion display section 132, specification correcting section 133, and move command section 134. The movability determining section 131 refers to specification constrains and determines whether part of a specification can be moved. If the specification can be moved, the movability portion display section 132 calculates specific points to which the specification can be moved, and displays destination candidates. The specification correcting section 133 makes preparations for movement of the specification before execution of a move command, and arranges the specification after movement. The move command section 134 executes a command for movement.

[0035]FIG. 3 shows an internal arrangement of the move command section 134. The move command section 134 includes a basic move command section 1341, move command defining section 1342, and move command interpreting/executing section 1343. The basic move command section 1341 executes basic move commands for movement, and moves part of the specification throughout a hierarchical structure by using the basic move commands. The basic move command section 1341 includes an execution order move command section 13411 which executes an execution order move command for moving a specification across levels in association with the execution order, and a communication channel move command section 13412 which executes a communication channel move command for moving the specification across levels in association with communication. The move command defining section 1342 defines an arbitrary move command by combining basic move commands. The move command interpreting/executing section 1343 interprets a move command definition and executes movement (executes the move command in accordance with the command definition defined by the move command defining section 1342).

[0036] The specification operating apparatus of this embodiment includes description elements for allowing an user to describe at least “sequential execution”, “repetitive execution”, “interrupt end”, “interrupt pause”, and “parallel execution”, and can describe an overall system specification by hierarchically combining these description elements.

[0037] System specification description schemes include StateChart for graphically describing specifications, SpecC (Specification description language based on C) language that expresses specifications in characters as a structural language, and the like. SpecC is described in detail in, for example, Daniel D. Gajski, “SpecC: Specification Language and Methodology”, Kluwer Academic Publishers, Dordrecht, ISBN0-7923-7822-9.

[0038] In this embodiment, a system specification description scheme will be described below with reference to a description form based on the SpecC language. However, the present invention is not limited to the SpecC language.

[0039] <Structure of Specification>

[0040] In this embodiment, a specification is comprised of a plurality of basic units called “behaviors”. A behavior can have a hierarchical structure. That is, one behavior can have a plurality of other behaviors as lower-level behaviors. A behavior corresponds to a function or class in a software specification; an LSI block in a hardware specification; and a job or task in a business process specification, for example.

[0041] “Structure of specification” defines the structure of a specification constituted by behaviors, and is comprised of a hierarchical structure associated with the execution order of behaviors and a hierarchical structure associated with data communication channels between the behaviors. The structure associated with the execution order and the structure associated with the communication channels have the same structure from the hierarchical viewpoint. More specifically, if behavior A is hierarchically higher than behavior B in terms of execution order, behavior A is also hierarchically higher than behavior B in terms of communication channels.

[0042] Depending on the structure of a specification, a specification dividing method for an architecture can also be defined. For example, with regard to an embedded system, the manner in which a specification is divided into portions corresponding to hardware and software is structured and described as a specification.

[0043] <Format of Specification>

[0044] Of the specification of a specification, a structure associated with an execution order is expressed as a hierarchical structure using at least four classifications of syntactic elements, namely “sequential execution and repetitive execution” (fsm), “parallel execution” (par), “synchronous execution” (fork, join, start, end), and “interrupt execution” (try, trap, itrp). Note that fsm is an abbreviation for finite state machine.

[0045] For example,

[0046] fsm{a, b} expresses a specification stating that “b is executed after a is executed and completed”,

[0047] par{a, b} expresses a specification stating that “a and b are concurrently executed”.

[0048] In addition, the hierarchical specification, fsm{a, par{b, c}, d}, expresses a specification stating that

[0049] “b and c are concurrently executed after execution of a, and d is executed after both b and c are completed”

[0050] In addition, try{a}trap(e){b} as a specification associated with “interrupt execution” expresses a specification stating that “a is executed first. If event e occurs during execution of a, execution of a is forcibly ended, and execution of b is started”.

[0051] A structure associated with communication channels defines the exchange of data between behaviors. Assume that communication channels are expressed by parts called variables and channels. Variables and channels are defined as parts immediately subordinate to higher-level behaviors in a hierarchical relationship in a specification, and the higher-level behaviors are connected to lower-level behaviors through connection ports called ports, thereby allowing the lower-level behaviors to communicate with each other through communication channel.

[0052] A communication channel corresponds to a variable or a function for communication in a software specification and to an interconnection for connecting LSIs in a hardware specification. A port is an input/output port for communication, which corresponds to an argument in a software specification and to a terminal for connecting parts through an inter-connection in a hardware specification. A channel is a part for receiving a command specially prepared to transmit/receive data. For example, commands such as “put (data)” and “get ( )” are conceivable. A variable can be regarded as a kind of channel having a write “write(data)” command and read “read( )” command.

[0053] Simple syntactic elements and rules of the SpecC language will be described below.

[0054] system description=set of “behavior descriptions”

[0055] behavior description={communication element, . . . , processing content}

[0056] where communication element=variable, channel

[0057] processing content=behavior(port, . . . ),

[0058] execution procedure description $\begin{matrix} {{execution}\quad {procedure}\quad {description}} \\ {{{= {{fsm}\left\{ \ldots \right\}}},{p\quad {ar}\left\{ \ldots \right\}},}\quad} \\ {\quad {= {{try}\left\{ \ldots \right\} {{trap}(e)}\left\{ \ldots \right\} {{itrp}(e)}\left\{ \ldots \right\}}}} \end{matrix}$

[0059] In the behavior description sample i, j, k, fsm{A(i), B(i, j), C(k)}, i, j, and k are local variables, and A, B, and C are lower-level behaviors, each having a port, which is connected to a local variable.

[0060] par{A, B, C}

[0061] This processing content sample indicates that A, B, and C are concurrently executed. fsm{ {1, A, goto(2) }, {2, B, flg= =3: goto(1), flg= =1: goto(2) } }

[0062] In this case, each element of fsm is formed by any one of

[0063] {label, processing content, {condition: transition upon establishment of condition}, . . . },

[0064] {label, processing content, transition upon completion of processing, . . . },

[0065] {label, processing content} and

[0066] processing content

[0067] These elements are sequentially executed from the left unless otherwise specified. If there is no transition label item, {label, processing content} executes the next fsm element upon completion of the processing content. Assume that label=1 or the leftmost fsm element is executed first. A transition is expressed by “goto(x): X is label number”. For example, goto(1) indicates that the flow returns to the first fsm element.

[0068] The above case indicates the following operation. When A is executed and completed, B is executed. When B is completed, A is executed if the value of the variable flg is 3, and B is executed if the value is 1.

[0069] As in the following example, an element without any label can be regarded as a simplified form of given execution control using a label.

[0070] fsm{A, B, C}=fsm{{1, A, goto(2)}, {2, B, goto(3)}, {3, C, . . . }, . . . }·try{A}trap(ev1){B}itrp(ev2){C}. . .

[0071] In the case of this language element, A is executed first. If event ev1 occurs during execution of A, A is forcibly ended, and B is executed. If event ev2 occurs during execution of A, A is paused, and C is executed. When C is completed, A is resumed.

[0072] Note that each of trap(e) {X} and itrp(e2){Y} may be more than one.

[0073] wait(ev)

[0074] This is synchronous processing which waits for the occurrence of event ev.

[0075] notify(ev)

[0076] This is synchronous processing that causes event ev.

[0077] flg=X

[0078] This is a substitution of a value into variable flg.

[0079] flg==X

[0080] This is condition determination.

[0081] start(ID);

[0082] fork(ID);

[0083] This is synchronous processing I; start and fork are synchronous executed.

[0084] end(ID);

[0085] join(ID);

[0086] This is synchronous processing II; end and join are synchronous executed.

[0087] The following is a specification sample conforming to the format enumerated above and having a hierarchical structure:

[0088] (Example: ex0)

[0089] A:={i, par{B(i), g(i)}}

[0090] B(i):={j, k, fsm{a(j), b(k, i), C(k)}>}

[0091] C(k):={par{d, e, f(k)}}

[0092] This expresses the following specification:

[0093] “Behavior A is constituted by sub-behaviors B, C, g, a, b, e, and f, and behavior A is constituted by lower levels B and g. B and g are concurrently executed. B, which is hierarchically lower than A, is constituted by lower-level elements a, b, and C, which are sequentially executed. C, which is hierarchically lower than B, is constituted by lower-level elements d, e, and f, which are concurrently executed. A has communication channel i, and port i of B and is connected to port i of g through i. B has communication channels j and k, port j of lower-level element a is connected to communication channel j. Port k of b is connected to communication channel k, port i of b is connected to port i of B, port k of C is connected to communication channel k, and port k of C is connected to port k of f. That is, a behavior f and behaviors b, g and b are connected through communication lines, respectively, to exchange data across hierarchical levels.”

[0094] For the sake of descriptive convenience, consider a case where communication channels and a hierarchical relationship are simplified in consideration of the execution order. When, for example, the above specification example (ex0) is simplified in consideration of the execution order, a specification can be described as follows:

[0095] A:=par{fsm{a, b, par{d, e, f}}, g}

[0096] For the sake of descriptive convenience, consider a case where the execution order is simplified in consideration of communication channels and a connection relationship. When the above specification example (ex0) is simplified in consideration of the communication channels and connection relationship, a specification can be described as follows:

[0097] A:={i, bh{B(i), g(i)}}

[0098] B(k):={i, j, bh{a,(i), b(i, j), C(j)}>}

[0099] C(j):={bh{d, e, f(j)}}

[0100] Pairs of fork(x) and start(x), and end(x) and join(x) represent a synchronization constraint and define that these elements are always executed in pairs (in this case, x represents an id number, and a pair having identical id numbers are synchronously executed).

[0101] For example, the following specification:

[0102] par{fsm{1, fork(2), join(2), 3},

[0103] fsm{start(2), 2, end(2), 4}}

[0104] hierarchically indicates that sequential executions (fsm) 1 to 3 and 2 to 4 are concurrently executed (par). Obviously, however, sequential execution 2 is executed between sequential executions 1 and 3 according to the synchronous relationship between for, join, start, and end.

[0105] With regard to the structure of communication channels, the above specification example (ex0) indicates that f and b can exchange data with each other through communication channel j of B, and a, b, and g can exchange data with each other through communication channel i of A.

[0106] <Specification Constraint>

[0107] Assume that in the specification operating apparatus of this embodiment, a constraint associated with a specification description is recorded on the specification constraint recording section 12, and it can be determined on the basis of this specification constraint whether to hold the contents of a specification.

[0108] <Execution order constraint>

[0109] An execution order constraint is a constraint associated with an execution order among behaviors in executing the respective behaviors. An execution order relation can be expressed by an order relation “>”. For example, “A>B” represents a constraint that B is executed after execution of A. According to this order relation, if A>B and B>C, then A>C (transitivity of order).

[0110] An execution order constraint on a set of behaviors constituting a specification can be expressed as a set of order relations “>” among the behaviors. According to this execution order constraint, order relations need not be defined for all combinations of behaviors. In this sense, this constraint is a pseudo-order set. For example, a specification stating that A and B are executed parallel is valid as a specification although it does not define which one of A and B should be executed first.

[0111] A priority relation between execution order constraints can be defined by using the property of an order relation in a specification description, i.e., “A total order set can be finally obtained by sequentially adding consistent order relations to an arbitrary pseudo-order set supplied”. That is, when an order constraint x is added to a pseudo-order set A to obtain a pseudo-order set B, it is defined that “B is stronger than A” and “A is weaker than B”.

[0112] <Relationship Between “Execution Order” and “Execution Order Constraint”>

[0113] One execution order constraint can be determined from a supplied “specification structure”.

[0114] For example, fsm{1, 2} defines an order in which 2 is executed after 1, and an only execution order constraint corresponding to this definition is {1>2}.

[0115] In addition, par{1, 2} indicates that no special constraint is imposed on the order of 1 and 2, and it does not matter whether they are executed parallel or one of them is executed first. The corresponding execution order constraint is { }. In this case, only two execution order constraints {1<2} and {2<1} are stronger than { } in association with par{1, 2}.

[0116] Let execution order constraint B on specification structure A be stated as:

[0117] “A implies B”.

[0118] If all the pseudo-order relations included in execution order constraint B are consistent with specification structure A, let this relationship be stated as:

[0119] “A satisfies B”.

[0120] If A implies B, A satisfies B. However, if A satisfies B, A does not always imply B.

[0121] For example, in the following example:

[0122] A1: fsm{1, fsm{2, 3}, 4}

[0123] A2: fsm{1, par{2, 3}, 4}

[0124] B1: {1<2, 2<3, 3<4}

[0125] B2: {1<2, 1<3, 2<4, 3<4}

[0126] A1 implies B1, and A2 implies B2. Although both A1 and A2 satisfy B1 and B2, A2 does not imply B1 (the order of 2 and 3 is unknown). A1 does not also imply B2 (2<3 cannot be derived from B2).

[0127] A plurality of specification structures may satisfy a set of arbitrary execution order constraints supplied. Since a structure is hierarchical, an infinite number of specification structures that can satisfy a set of supplied execution order constraints exist; they cannot be counted up.

[0128] Supplied specification structure A implies only one execution order constraint B. With respect to specification structure A, all execution order constraints stronger than execution order constraint B can be counted. For example, the following specification structure:

[0129] fsm{1, 2, par{3, fsm{4, 5}, 6}, 7} implies the following execution order constraint:

[0130] R0={1<2, 2<3, 2<4, 2<6, 4<5, 6<7, 3<7, 5<7}

[0131] By adding order relations to the “par” portion, with respect to the above structure fsm{1, 2, par{3, fsm{4, 5}, 6}, 7}, all execution order constraints stronger than R0 can be obtained. In this case, they are:

[0132] R1=R0∪{3<4, 5<6}

[0133] R2=R0∪{5<6, 6<3}

[0134] R3=R0∪{3<6, 6<4}

[0135] Note that ∪ represents a calculation of a sum of sets. That is, four execution order constraints can be obtained, including R0.

[0136] <Constraints on Communication Channels and Connection Relationship>

[0137] Constraints on the levels of behaviors to which communication channels belong will be described below.

[0138] “A communication channel must be defined in a behavior hierarchically higher than that of any behaviors connected to each other through the communication path”.

[0139] The following specification example (ex1) indicates a specification in which behaviors B and A are connected to each other through communication channel c belonging to D. Since D to which c belongs is hierarchically higher than B and A, the constraint is observed.

[0140] (example: ex1)

[0141] E:={bh{D}}

[0142] D:={c, bh{B(c), A(c)}

[0143] The following specification example (ex2) exemplifies a case where the behavior to which c belongs in specification example (ex1) is moved to E hierarchically higher than D.

[0144] (example: ex2)

[0145] E:={c, bh{D(c)}}

[0146] D(p):={bh{{bh{B(p), A(p)}}}}

[0147] In specification example (ex2) as well, the connection relationship between B and A is held in the same manner as in specification example (ex1), and the constraint concerning to which a communication channel belongs is also observed. Therefore, a communication channel can belong to both specification example (ex1) and specification example (ex2), and the two specifications can be mutually converted. In this case, the behavior to which a communication channel belongs cannot be moved from B to A because of violation of the constraint.

[0148] <Equivalency Between Specification Structures and Strong Constraint>

[0149] Assume that two “specification structures” A and B are provided. In this case, if the respective specification structures imply the same execution order constraint, then

[0150] “A and B are equivalent to each other in terms of execution order constraint”

[0151] If the execution order constraint implied by one specification structure A is stronger than the other specification structure B, then

[0152] “Execution order constraint is stronger than that on B”

[0153] Examples of “specification structures” equivalent to each other in terms of execution order constraint are shown below.

[0154] For example, in the following specification examples,

[0155] (example: ex1a)

[0156] par{fsm{1, 2}, fsm{3, 4, fsm{5, 6}}}

[0157] (example: ex2a)

[0158] par{fsm{1, 2}, fsm{3, fsm{4, 5, 6}}}

[0159] (example: ex3a)

[0160] par{fsm{1, 2}, fsm{3, 4, 5, 6}}

[0161] since specification example (ex2a) and specification example (ex3a) imply the same execution order constraint {1<2, 3<4, 4<5<, 5<6} with respect to specification example (ex1a), they are equivalent to each other.

[0162] In addition, the following specification example (ex4a) using synchronization is an example of a specification structure equivalent to specification examples (ex1a), (ex2a), and (ex3a) described above.

[0163] (example: ex4a)

[0164] par{fsm{1, fsm{start(4), 4, end(4)}, 2},

[0165] fsm{3, fsm{fork(4), join(4)}, 5, 6}}

[0166] The following is an example of a specification structure with a strong constraint.

[0167] For example,

[0168] (example: ex1b)

[0169] fsm{1, par{2, 3}, 4}

[0170] With respect to this specification example, the execution order constraint implied by (ex1b) is

[0171] {1<2, 1<3, 2<4, 3<4}. . . (ecs1b)

[0172] (example: ex2b)

[0173] fsm{1, 2, par{3}, 4}

[0174] In this specification example, the execution order constraint implied by (ex2b) is

[0175] {1<2, 2<3, 3<4}. . . (ecs2b)

[0176] The above execution order constraint (ecs2b) includes execution order constraint (ecs1b) as a pseudo-order set (1<3 is included in {1<2, 2<3}). Therefore, execution order constraint (ex2b) is a strong constraint relative to execution order constraint (ex1b).

[0177] Likewise, specification examples (ex3b) and (ex4b) described below are examples of specification structures with a strong constraint relative to specification example (ex1b).

[0178] fsm{1, 3, par{2}, 4}. . . (ex3b)

[0179] fsm{1, par{2}, 3, 4}. . . (ex4b)

[0180] <Conversion of Specification Structure>

[0181] Conversion of a provided specification structure into another specification structure having an equivalent execution order constraint or another specification structure having an execution order constraint stronger than that on the original specification structure is defined as “conversion of a structure without any change in specification contents.”

[0182] <Example of Move Command>

[0183] The following is an example of a move command for moving part of a specification to another part on the basis of “execution order constraint” while “the contents of the specification are maintained”. Obviously, the present invention is not limited to the following example. When another specification constraint is to be used in the present invention, another type of “maintaining the contents of a specification” definition or move command can be used.

[0184] <Command for Moving Communication Channel>

[0185] <<Communication Channel Move Command Section>>

[0186] A move command associated with a communication channel is executed by the communication channel move command section 13412. The move command is constituted by two types of commands, namely pop and push, which are commands for vertically moving the belonging portion of a channel or variable (to which behavior it belongs) along the levels of behaviors.

[0187] pop(variable/channel to be moved)

[0188] push(variable/channel to be moved)

[0189] Assume that behavior D is located hierarchically below behavior E, a level below behavior D is constituted by behaviors A and B which communicate with each other, and A and B are connected to each other through channel c belonging to D. The following is an example (ex1c) of such a specification structure:

[0190] (example: ex1c)

[0191] E:={bh{D}}

[0192] D:={c, bh{B(c), A(c)}}

[0193] The pop move command moves the belonging portion of a channel or variable to a behavior at a level immediately higher than the current level. The following example (ex2c) is obtained by applying a pop(c) move command to example (ex1c).

[0194] (example: ex2c)

[0195] E:={c, bh{D(c)}}

[0196] D(p):={bt{{bh{B(p), A(p)}}}}

[0197] According to example (ex2c), the belonging portion of channel c is changed from D to E. At this time, new port p is defined for behavior D to ensure a communication channel between A and B, and a connection relationship between A, B, and A is added.

[0198] The push command moves the belonging portion of a channel or variable to a level immediately lower than the current level. In the above example, when a push(c) command is executed in (ex2c), (ex1c) is obtained. Example (ex1c) represents the lowest-level behavior (belonging portion) which communication channel c between A and B can take. That is, the push(c) command is invalid with respect to the push(c) command. As described above, there is no limit on pop, but there is a lower limit on push. The lowest level of a belonging portion is equal to the highest level of behaviors that participate in communication.

[0199] <Basic Move Commands for Specification Associated with Execution Order>

[0200] <<Execution Order Move Command Section>>

[0201] Movement associated with an execution order is executed by the execution order move command section 13411. The execution order move command section 13411 is constituted by four types of basic move commands, pop commands for movement from a lower-level behavior to an upper-level behavior and push commands for movement from an upper-level behavior to a lower-level behavior:

[0202] pop(behavior to be moved)

[0203] pop(behavior to be moved, destination)

[0204] push(behavior to be moved, destination)

[0205] push(behavior to be moved)

[0206] If a single destination is specified, the destination is designated by a command with one argument; otherwise, the destination is designated by a command with two arguments. The movability determining section 131 then moves the corresponding behavior.

[0207] <Procedure for movement>

[0208] Specification movement processing in the specification moving section 13 will be described below.

[0209]FIG. 4 shows an example of the specification movement procedure executed by the specification moving section 13.

[0210] First of all, the movability determining section 131 checks whether the specification can be moved (step S1)

[0211] If the specification can be moved (YES in step S2), the movability portion display section 132 calculates destination candidates and checks whether there are a plurality of candidates (step S3). If there are a plurality of candidates (YES in step S4), a portion is limited to specify a destination (step S5).

[0212] If a communication channel must be moved to an upper level in advance because a constraint about the level of the communication channel is satisfied even after movement, the corresponding communication channel is moved in advance to the upper level at which the constraint is satisfied, as a preparation for movement, by using the above communication channel move command (step S6). The behavior is then vertically moved across levels by an execution order move command (step S7). The specification is then corrected so as not to violate the execution order constraint (step S8).

[0213] If movement cannot be performed (NO in step S2), for example, processing like error display is performed (step S9).

[0214] In moving behaviors, the push/pop move commands behave differently depending on the combination of types of upper and lower levels (fsm or par). Each case will be described below.

[0215] In the following example, movability is determined on the basis of a movability determination rule, calculation of a destination is performed on the basis of a movability portion calculation rule, and correction of a specification is performed on the basis of a specification correction rule.

[0216] The specification movement rule will be exemplified below.

Upper level=fsm/lower level=fsm   (1)

[0217] [Movability Determination Rule]

[0218] Only behaviors adjacent to each other in terms of level can be moved to upper and lower levels.

[0219] [Movability Portion Calculation Rule]

[0220] Portions to which behaviors can be moved are portions adjacent to each other through a level.

[0221] In this case, behaviors adjacent to each other in terms of level are end and start behaviors of fsm when behaviors are to be moved to an upper level. When behaviors are to be moved to a lower level, they are behaviors adjacent to the lower level. For example, according to

[0222] fsm{1, 2, fsm{3, 4, 5}, 6, 7}

[0223] 1, 3, 5, and 7 can be moved to an upper level, and 2 and 6 can be moved to a lower level. Behavior 2 can be moved to a portion immediately before behavior 3, behavior 5 can be moved to a portion immediately before behavior 6, and behavior 3 can be moved to a portion immediately after behavior 3.

Upper level=par/lower level=par   (2)

[0224] [Movability Determination Rule]

[0225] An arbitrary behavior can be moved.

[0226] [Movability Portion Calculation Rule]

[0227] A movability portion can also be moved to an arbitrary portion.

Upper level=fsm/lower level=par   (3)

[0228] [Movability Determination Rule]

[0229] An arbitrary behavior at a lower level can be moved from the lower level (part) to the upper level (fsm).

[0230] In moving a behavior from a lower level (par) to an upper level (fsm), the behavior can be moved to only a portion immediately after a behavior adjacent to the lower level.

[0231] [Movability Portion Calculation Rule]

[0232] Only a behavior adjacent to a lower layer can be moved from the upper level to the lower level.

[0233] In moving the behavior from the upper level to the lower level, the behavior can be moved to an arbitrary portion at the lower level.

[0234] [Specification Correction Rule]

[0235] In moving a behavior from an upper level to a lower level, proper synchronization processing is performed for the specification to hold the order constraint.

Upper level=par/lower level=fsm   (4)

[0236] [Movability Determination Rule]

[0237] An arbitrary behavior at an upper level can be moved from the upper level to the lower level.

[0238] An arbitrary behavior at a lower level can be moved from the lower level to the upper level.

[0239] [Movability Portion Calculation Rule]

[0240] When a behavior is moved from an upper level to a lower level, the behavior can be moved to an arbitrary portion at the lower level.

[0241] When a behavior is moved from a lower level to an upper level, the behavior can be moved to an arbitrary portion at the upper level.

[0242] [Specification Correction Rule]

[0243] In movement from a lower level to an upper level, proper synchronization processing is performed for a specification to hold an order constraint.

[0244] The following is a summary of the above exemplified rules for movement.

[0245] <Case 1: Upper Level=FSM, Lower Level=FSM>

[0246] <<Pop Command>>

[0247] If the following specification (1) is given

[0248] fsm{1, 2, fsm{3, 4, 5}}. . . (1)

[0249] then, the execution order constraint implied by the structure of specification (1) is given by

[0250] {1<2, 2<3, 3<4, 4<5}. . . (2)

[0251] Assume that with respect to specification (1), a “pop(3)” move command for moving behavior 3 to a level immediately higher than the current level is executed. When the movability determining section 131 checks the movability determination rules, it is found that 3 is a behavior adjacent to the upper level, and hence can be moved. With regard to a movability portion, according to the rules, since behavior 2 is adjacent to behavior 3 at an upper level across the levels, behavior 3 can be inserted immediately after behavior 2.

[0252] When a “pop(3)” move command for moving behavior 3 to a level immediately higher than the current level is executed with respect to specification (1), the following equivalent specification structure (3) can be obtained.

[0253] fsm{1, 2, 3, fsm{4, 5}}. . . (3)

[0254] If a pop(5) command is executed with respect to specification (1), a behavior can be moved to a portion immediately after the following fsm level. As a consequence, the following specification structure (4) is obtained.

[0255] fsm{1, 2, fsm{3, 4}, 5}. . . (4)

[0256] If a pop(4) command is executed with respect to specification (1), an execution order constraint is violated according to the movability determination rules. Therefore, such movement cannot be performed.

[0257] If, for example, pop(4) is executed immediately after behavior 2, the following specification (5) is obtained.

[0258] fsm{1, 2, 4, fsm{3, 5}}. . . (5)

[0259] Specification (5) contradicts the execution constraint stating that specification (1) implies “{3<4}”.

[0260] If pop(4) is executed at the end of fsm in specification (1), specification (6) is obtained.

[0261] fsm{1, 2, fsm{3, 5}, 4}. . . (6)

[0262] However, specification (6) also contradicts the constraint stating that specification (1) implies “{4<5}”.

[0263] <<Push Command>>

[0264] When specification (7) is provided

[0265] fsm{1, fsm{2, 3}, 4, 5}. . . (7)

[0266] Specification (7) implies the following execution order constraint (8).

[0267] {1<2, 2<3, 3<4, 4<5}. . . (8)

[0268] In this case, a “push(1)” move command is executed with respect to specification (7). When the movability determining section 131 refers to the movability determination rule, since 1 is adjacent to a level, it can be moved to a lower level. According to the movability portion calculation rule, a portion to which 1 can be moved is located immediately before 2.

[0269] As a result of execution of a ” push(1, immediately before 2)” command, 1 is moved to a level immediately lower than the current level, and specification (9) is obtained:

[0270] fsm{fsm{1, 2, 3,}, 4, 5}. . . (9)

[0271] According to the movability determination rule, in the case of fsm/fsm, since only a behavior adjacent to a lower level can be “pushed”, the “push(5)” command cannot be executed with respect to specification (7).

[0272] <Case 2: Upper Level=PAR, Lower Level=PAR>

[0273] <<Pop Command>>

[0274] When the following specification structure (1a) is provided

[0275] par{1, par{2, 3}, 4}. . . (1a)

[0276] specification (1a) implies the following execution order constraint (2a) (defines no order).

[0277] { }. . . (2a)

[0278] Assume that a “pop(2)” move command is executed with respect to specification (1a). In this case, the movability determining section 131 refers to the movability determination rule to find that behavior 2 can be moved. In addition, the movability portion display section 132 refers to the movability portion calculation rule to find that the behavior can be moved to an arbitrary portion. Since movability portions “immediately before and after 1 and immediately before and after 4” are displayed, the designer selects “immediately after 1” and executes a “push(2, immediately after 1)” move command. As a consequence, the structure is changed to obtain the following new specification (3a):

[0279] par{1, 2, par{3}, 4}. . . (3a)

[0280] <<Push Command>>

[0281] According to the movability determination rule, in the case of “par/par”, like pop, push can move an element at an arbitrary upper level to an arbitrary portion at a lower level.

[0282] If, for example, the movability determining section 131 executes a push(4) move command with respect to specification (1), the following three possible specifications are obtained.

[0283] par{1, par{2, 4, 3}}

[0284] par{1, par{2, 3, 4}}

[0285] par{1, par{4, 2, 3}}. . . (4a)

[0286] These are identical (equivalent) specifications in terms of an execution order constraint.

[0287] <Case 3: Upper Level=FSM, Lower Level=PAR>

[0288] <<Pop Command>>

[0289] Assume that a “pop(2)” move command is executed with respect to the following provided specification (1b):

[0290] fsm{1, par{2, 3}, 4}. . . (1b)

[0291] In this case, the movability determining section 131 refers to the movability determination rule to find that movement can be performed. Adjacent behaviors are 1 and 4. According to the movability portion display section 132, therefore, a portion “immediately after 1 or immediately before 4” is a movability portion.

[0292] If a “pop(2, immediately after 1)” move command is executed, the specification structure given by

[0293] fsm{1, 2, par{3}, 4}. . . (2b) can be obtained.

[0294] If a “pop(2, immediately before 4)” move command is executed,

[0295] the specification structure given by

[0296] fsm{1, par{3}, 2, 4}. . . (3b) can be obtained.

[0297] This applies to a “pop(3)” move command.

[0298] <<Push Command>>

[0299] Assume that a “push(1)” move command is executed with respect to the following specification structure (4b):

[0300] fsm{1, par{2, 3}, 4}. . . (4b)

[0301] In this case, the movability determining section 131 refers to the movability determination rule to find that only a nearby behavior can be moved (pushed) from an upper level to a lower level. Since 1 is a behavior near the lower level, it can be moved. According to the rule, since proper synchronization processing must be performed in movement, synchronization processing and a specification structure change associated with the processing must be performed to hold the execution order {1<2, 1<3}.

[0302] fsm{par{fsm{1, end(1)}, fsm{join(1), 2},

[0303] fsm{join(1), 3}}, 4}. . . (5b)

[0304] In this case, although 1, 2, and 3 are concurrently executed within par, and 2 and 3 are activated after 1 is completed by a synchronizing mechanism.

[0305] The same processing is performed with respect to the “push(4)” move command. In this case, according to the order constraint {2<4, 3<4}, both 2 and 3 must be terminated to start 4. For this reason, a level at which two elements “join” are enclosed with par is prepared, and the synchronization timing at which both 2 and 3 are terminated is made to coincide with the start timing of 4.

[0306] fsm{1, par{fsm{par{join(2), join(3)}, }

[0307] fsm{2, end(2)},

[0308] fsm{3, end(3)}}}. . . (6b)

[0309] <Case 4: Upper Level=PAR, Lower Level=FSM>

[0310] <<Pop Command>>

[0311] Assume that the “pop(4)” move command is executed with respect to the following specification (1c):

[0312] par{1, 2, fsm{3, 4, 5}}. . . (1c)

[0313] In this case, the movability determining section 131 refers to the movability determination rule to find that an arbitrary behavior can be moved from the lower level fsm to the upper level par. Therefore, behavior 4 can be moved. According to the movability portion rule, the behavior can be moved to an arbitrary portion. According to the specification correction rule, proper synchronization processing must be performed for movement. On the basis of this rule, a move command is executed. The following specification (2c) is finally obtained by performing the synchronization processing.

[0314] par{1, 2, fsm{start(4), 4, end(4)}, fsm{3, fork(4),

[0315] join(4), 5}}. . . (2c)

[0316] According to specification (2c), 4, 3, and 5 are executed parallel by par. With the synchronization processing (start, end, fork, join), however, 4 is executed after 3 is completed, and 5 is executed after 4 is completed. This indicates that the initial execution order constraint {3<4, 4<5} is maintained.

[0317] This applies to the pop(3) and pop(5) commands.

[0318] <<Push Command>>

[0319] Assume that the “push(2)” move command is executed with respect to specification (1c). In this case, the movability determining section 131 finds that when an arbitrary element is to be moved from an upper level (par) to a lower level (fsm), the element can be moved to an arbitrary portion. Therefore, the move command “push(2, between 3 and 4)” for designating a destination is executed to obtain specification (3c):

[0320] par{1, fsm{3, 2, 4, 5}}. . . (3c)

[0321] <Case 5: Combination of Basic Move Commands>

[0322] An arbitrary move command can be realized by combining basic move commands. As a means for designating a method of combining commands, a procedural high-level language is used. As a high-level language, a script language (JavaScript) or UNIX shell (sh, bash, csh) may be used.

[0323] For example, a relocate_cnc command for moving an element included in fsm hierarchically located below par between adjacent levels fsm is defined (by the move command defining section 1342) as:

[0324] relocate_cnc (movement target, destination)=“push(movement target, destination) is executed after pop(movement target) is executed”

[0325] When relocate_cnc(2, between 4 and 5) is executed with respect to the following specification (1d):

[0326] par{fsm{1, 2}, fsm{3, 4, 5}}. . . (1d)

[0327] the move command interpreting/executing section 1343 executes the contents of relocate_cnc in accordance with the command definition.

[0328] First of all, “pop(2)” is executed to obtain the following specification (2d):

[0329] par{fsm{join(1), 2}, fsm{1, end(1)}, fsm{3, 4, 5}}. . . (2d)

[0330] In addition, “push(2, between 4 and 5)” is executed to obtain specification (3d):

[0331] par{fsm{1, end(1)}, fsm{3, 4, fsm{join(1), 2}, 5}}. . . (3d)

[0332] This structure is hierarchically simplified with respect to fsm to finally obtain

[0333] par{fsm{1, end(1)}, fsm{3, 4, join(1), 2, 5}}. . . (4d)

[0334] According to another example, a relocate_seq command for moving an element included in fsm hierarchically located below fsm between levels fsm is defined (by the move command section 134) as:

[0335] relocate_seq(movement target, destination)=“push(movement target, destination) is executed after pop(movement target) is executed”

[0336] When a relocate_seq(2, immediately before 3)” command is executed with respect to the following specification (5d):

[0337] fsm{fsm{1, 2}, fsm{3, 4, 5}}. . . (5d)

[0338] the move command section 134 refers to the move command definition to sequentially execute push and pop commands to obtain the following specification (6d):

[0339] fsm{fsm{1, fsm{2, 3, 4, 5}}. . . (6d)

[0340] In this case, the movability determining section 131 also determines movability by referring to this move command definition and the movability determination rule for each basic command and combining them. In the above case, only relocate_seq(2, immediately before 3), only relocate_seq(3, immediately after 2) can be executed.

[0341] <Specification Constraint Recording Section>

[0342] The specification constraint recording section 12 records/holds, for example, an execution order constraint corresponding to a specification structure. Note that the execution order constraint and specification structure are associated with each other but independent of each other.

[0343] For example, the execution order constraint implied by specification (1e)

[0344] par{1, 2, fsm{3, 4, 5}}. . . (1e)

[0345] is

[0346] {3<4, 4<5}. . . (2e)

[0347] This constraint is recorded on the specification constraint recording section 12 and a series of move commands are executed.

[0348] If, for example, “push(2, between 3 and 4)” is executed with respect to specification (1e), specification (3e) is obtained.

[0349] par{1, fsm{3, 2, 4, 5}}. . . (3e)

[0350] If the “pop(2)” command is executed with respect to this specification (3e), specification (4e) is obtained.

[0351] par{1, fsm{join(3), 2, end(2)}, fsm{3, end(3), join(2), 4, 5}}. . . (4e)

[0352] When execution order constraint (2e)={3<4, 4<5} is referred to by referring to the specification constraint recording section 12, synchronization processing is useless, and hence is deleted to obtain the same structure as that of the initial specification (1e).

[0353] When the “push(2, between 4 and 5)” command is executed, the following specification (5e) is obtained:

[0354] par{1, fsm{3, 4, 2, 5}}. . . (5e)

[0355] When the initial order constraint is extracted from specification (1e) and move command operation is performed (which corresponds to a case where an arbitrary move command is created in accordance with a combination of basic move commands) on the basis of the constraint, the order constraint implied by a specification structure as an interim result is not an order constraint to be considered in movement but is the order constraint implied by the initial specification structure recorded on the specification constraint recording section 12. Movement that violates the order constraint, like conversion from specification (3e) to specification (5e), is included in the intermediate state of conversion.

[0356] <Interrupt>

[0357] The above description has excluded a case where a description (try/trap/itrp) associated with an interrupt in a specification structure for the following reason. The description associated with an interrupt is localized in advance, and the localized partial structure can be handled as a single behavior. As a whole, therefore, the interrupt structure can be removed to obtain a hierarchical structure constituted by only par and fsm.

[0358] For example, the following behavior

[0359] try{fsm{a, b, c}}trap(e){fsm{d}}

[0360] states that “If event e occurs during sequential execution of a, b, and c, the execution of a, b, and c is stopped, and d is executed. If no event e occurs, the processing is terminated at the end of c”. By moving the try/trap structure to a lower level, the specification can be converted into the following equivalent specification structure:

[0361] par{fsm{try{a}trap (e) {flg=1, en(a)}

[0362] try{b}trap (e) {flg=1, en(b)}

[0363] try{c}trap(e) {flg=1, en(c)}

[0364] flg=0, end(abc)}

[0365] fsm{join (a, b, c, abc), flg=0: fsm{d}}}

[0366] In this case, the initial order constraint is maintained by the synchronizing mechanism and the value of the flg flag.

[0367] In addition, try/trap can be concealed from the structural viewpoint by creating a macro like that shown in FIG. 5.

[0368] Each function described above can be implemented as software.

[0369] In addition, this embodiment can be practiced as a computer program product for causing a computer to realize predetermined functions.

[0370] Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents. 

What is claimed is:
 1. A method for operating a specification of a system, comprising: storing a structure of the specification described in a system description language; storing constraint information indicating a first execution order constraint associated with the specification; and processing of converting the specification to another specification having a second execution order constraint equivalent to the first execution order constraint or having a third execution order constraint stronger than the first execution order constraint by referring to the constraint information.
 2. The method according to claim 1, wherein the processing of converting comprises moving contents of a predetermined portion in the structure of the specification to another portion in the structure.
 3. The method according to claim 2, wherein the moving comprises determining whether or not contents of the predetermined portion in the structure of the specification can be moved based on a movability determination rule; specifying the another portion in the structure based on a movability portion calculation rule when the movement can be performed; correcting part of the specification to perform the movement based on a specification correction rule; and executing a move command for moving the contents of the predetermined portion to said another portion.
 4. The method according to claim 3, wherein the specifying the destination comprises when a plurality of candidates are obtained as destinations to which the movement can be performed, displaying the plurality of candidates for the destination; and receiving an instruction to select at least one of the plurality of candidates.
 5. The method according to claim 3, wherein the executing of the move command comprises executing basic move commands for performing a basic movements.
 6. The method according to claim 5, wherein the executing of the move command comprises combining the basic move commands to define a desired move command; interpreting the defined desired move command; and executing the basic move commands in accordance with the interpretation result.
 7. The method according to claim 5, wherein the basic move commands comprise an execution order move command group for moving the specification in association with the execution order of execution units in the structure of the specification and a communication channel move command for moving the specification in association with a communication channel between execution units in the structure of the specification.
 8. The method according to claim 7, wherein the communication channel move command comprises a command group for moving the communication channel to upper level or lower level in the hierarchical structure of the specification, the execution order move command comprises a command group for moving the execution unit to upper level or lower level in the hierarchical structure of the specification.
 9. The method according to claim 1, wherein the specification is described such that execution units and a communication channel for communication between the execution units are described as elements; an overall control specification is described by a hierarchical combination of control structures using at least sequential execution, parallel execution, interrupt execution, and repetitive execution; and a flow of data is described by coupling the execution units through the communication channel.
 10. The method according to claim 9, wherein the specification comprises a description relating to the exchange of events parallelly executed between not less than two execution units and the specification comprises a description relating to a synchronization processing.
 11. A computer program product comprising: a computer storage medium and a computer program code mechanism embedded in the computer storage medium for causing a computer to operate a specification of a system, the computer code mechanism comprising: a computer code device configured to store a structure of the specification described in a system description language; a computer code device configured to store constraint information indicating a first execution order constraint associated with the specification; and a computer code device configured to convert the specification to another specification having a second execution order constraint equivalent to the first execution order constraint or having a third execution order constraint stronger than the first execution order constraint by referring to the constraint information.
 12. The computer program product according to claim 11, wherein the computer code device configured to convert comprises a computer code device configured to move contents of a predetermined portion in the structure of the specification to another portion in the structure.
 13. The computer program product according to claim 12, wherein the computer code device configured to move comprises: a computer code device configured to determine whether or not contents of the predetermined portion in the structure of the specification can be moved based on a movability determination rule; a computer code device configured to specify the another portion in the structure based on a movability portion calculation rule when the movement can be performed; a computer code device configured to correct part of the specification to perform the movement based on a specification correction rule; and a computer code device configured to execute a move command for moving the contents of the predetermined portion to said another portion.
 14. The computer program product according to claim 13, wherein the computer code device configured to specify the destination comprises a computer code device configured to display a plurality of candidates obtained as destinations to which the movement can be performed; and a computer code device configured to receive an instruction to select at least one of the plurality of candidates.
 15. The computer program product according to claim 13, wherein the computer code device configured to execute the move command comprises a computer code device configured to execute basic move commands for performing a basic movements.
 16. The computer program product according to claim 15, wherein the computer code device configured to execute the move command comprises a computer code device configured to combine the basic move commands to define a desired move command; and a computer code device configured to interpret the defined desired move command, and to execute the basic move commands in accordance with the interpretation result.
 17. The computer program product according to claim 15, wherein the basic move commands comprise at least an execution order move command group for moving the specification in association with the execution order of execution units in the structure of the specification and a communication channel move command for moving the specification in association with a communication channel between execution units in the structure of the specification.
 18. The computer program product according to claim 17, wherein the communication channel move command comprises a command group for moving the communication channel to upper level or lower level in the hierarchical structure of the specification, the execution order move command comprises a command group for moving the execution unit to upper level or lower level in the hierarchical structure of the specification.
 19. The computer program product according to claim 11, wherein the specification is described such that execution units and a communication channel for communication between the execution units are described as elements; an overall control specification is described by a hierarchical combination of control structures using at least sequential execution, parallel execution, interrupt execution, and repetitive execution; and a flow of data is described by coupling the execution units through the communication channel.
 20. The computer program product according to claim 19, wherein the specification comprises a description relating to the exchange of events parallelly executed between not less than two execution units and the specification comprises a description relating to a synchronization processing.
 21. A system design support method comprising: creating a system specification model comprised of a specification of a computation and a specification of a communication at a system level; dividing and distributing partial structures of the system specification model into partial elements of a predetermined architecture to create an architecture model; combining communication protocols between the partial elements of the architecture based on the specification of the communication to create a communication model; associating the system specification model, the architecture model, and the communication model each other, and recording the associated model as a system specification; generating a hardware specification from the system specification; generating a software specification from the system specification; and storing a structure of the specification described in a system description language; storing constraint information indicating a first execution order constraint associated with the specification; and processing of converting the specification to another specification having a second execution order constraint equivalent to the first execution order constraint or having a third execution order constraint stronger than the first execution order constraint by referring to the constraint information.
 22. The system design support method according to claim 21, further comprising forming a system specification model component in order to reuse the component in creating the system specification model, architecture model, and the communication model. 